#include <pthread.h>
#include <stdio.h>
#define NUM_THREADS     5

void *PrintHello(void *threadid);//this bit is a void pointer

void *PrintHello(void *threadid)
{
	//printout statements go here
	printf("I am doing threads now\n");
}

int main (int argc, char *argv[])
{
   pthread_t threads[NUM_THREADS];

   for(int t = 0; t < NUM_THREADS; t++){
      int rc = pthread_create(&threads[t], NULL, PrintHello, (void *)t);
	//can't see where this is used
   }

   // Last thing that main() should do
   pthread_exit(NULL);
}
